<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>测试开启 CSRF</title>
</head>
<body>
<h1>主页</h1>
<form th:action="@{/hello}" method="post">
    信息：<input type="text" name="name">
    <input type="submit" value="提交">
</form>
</body>
</html>